package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.bean.Books;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author wjf
* @description 针对表【books】的数据库操作Service
* @createDate 2022-10-11 18:27:22
*/
public interface BooksService extends IService<Books> {

    IPage<Books> findPage(IPage<Books> page, String name, String author);

    Boolean findAndSaveBook(Integer bookId, Integer userId);
}
